﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="TimKiem.aspx.cs" Inherits="TimKiem" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:HiddenField ID="H_PageCount" Value="0" runat="server" />
    <p class="path_chude">
    </p>
    <div class="detail_content">
        <div class="detail_content_top">
            <h3 style="font-weight: bold; padding: 10px; font-size: 25pt; color: #e65393">
                Tìm Kiếm
            </h3>
        </div>
        <div class="detail_content_mid">
            <div class="detail_content_mid_content">
                <strong>Từ tìm kiếm:</strong>
                <asp:Label ID="lbltukhoa" runat="server" Text=""></asp:Label>
                <asp:DataList ID="dlTinTuc" runat="server" EmptyDataText="<br><center>Không tìm thấy bài viết</center><br>"
                    RepeatColumns="1" RepeatDirection="Horizontal" Width="100%">
                    <ItemTemplate>
                        <table border="0" width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="padding-left: 20px; font-weight: bold">
                                    <asp:HyperLink ID="TieuDeTin" CssClass="lk_titlenew" NavigateUrl='<%#"~/TinTucND.aspx?Id=" + Eval("Id") + "&TieuDe=" + GetTieuDe(Eval("TieuDe"))%>'
                                        runat="server"><%# Eval("TieuDe") %></asp:HyperLink>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-left: 30px; text-align: justify">
                                    <%# Eval("TomTat") %>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
                <cc1:Pager ID="Pager1" runat="server" Visible="false" PreviousClause="Lùi" NextClause="Tiến" LastClause=""
                    FirstClause=" " PageClause="Trang " OfClause=" /" PageSize="15" OnCommand="Pager1_Command"
                    ForeColor="#006600" Font-Bold="True" />
            </div>
             
        </div>
        <div class="detail_content_bottom" style="text-align: right">
                    <asp:ImageButton ID="cmdPrevious" ImageUrl="~/Images/xemtruoc.png" runat="server"
                        OnClick="cmdPrevious_Click" />
                    <asp:ImageButton ID="cmdNext" ImageUrl="~/Images/xemtiep.png" runat="server" OnClick="cmdNext_Click" />
                </div>
    </div>
</asp:Content>
